package com.example.zyedu.fragment.history.his_dai;

import android.util.Log;

import com.example.zyedu.entity.Bean;
import com.example.zyedu.entity.His_dai_bean;

/**
 * Created by acer on 2017/8/4.
 */

public class History_dai_Presenter extends History_dai_Contract.Presenter {

    @Override
    public void do_his_dai_api(Bean<His_dai_bean> bean) {
        rxManager.add(modle.do_his_dai(bean)
                .subscribe(responseBody -> {
                    view.initData(responseBody.getData());
                        }
                        , throwable -> {
Log.i("1231231231",throwable.getMessage());
                        }));
    }
}
